package com.wondertek.poms.transform.xmlvo;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
/**
 * <p><b>SyncResponse Description:</b> </p>
 * @author douzi
 * <b>DATE</b> 2020年3月3日 下午3:31:05
 * 
 * <?xml version="1.0" encoding="UTF-8"?>
	<CMS>
		<Response>
			<RspCode>${resultCode!""}</RspCode>
			<RspDesc>${resultCode!""}</RspDesc>
		</Response>
	</CMS>
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@JacksonXmlRootElement(localName ="CMS")
public class SyncResponse implements Serializable {
	
	/**
	 * 成功
	 */
	public static String back_success = "000000";
	/**
	 * 异常错误码: 1.代码异常
	 */
	public static String back_error_500101 = "500101";
	/**
	 * 异常错误码: 2.媒资xml不存在
	 */
	public static String back_error_500102 = "500102";
	/**
	 * 异常错误码: 3.redis去重
	 */
	public static String back_error_500103 = "500103";
	/**
	 * 异常错误码: 4.总开关关闭
	 */
	public static String back_error_500104 = "500104";
	/**
	 * 异常错误码: 5.form_type不存在
	 */
	public static String back_error_500105 = "500105";
	/**
	 * 异常错误码: 6.SerialContentID不存在
	 */
	public static String back_error_500106 = "500106";
	/**
	 * 异常错误码: 7.SerialContentID存在
	 */
	public static String back_error_500107 = "500107";
	/**
	 * 异常错误码: 8.LiveContentID不存在
	 */
	public static String back_error_500108 = "500108";
	/**
	 * 异常错误码: 9.LiveContentID存在
	 */
	public static String back_error_500109 = "500109";
	/**
	 * 异常错误码: 10.type不存在
	 */
	public static String back_error_500110 = "500110";
	/**
	 * 异常错误码: 11.SerialSequence不存在
	 */
	public static String back_error_500111 = "500111";
	/**
	 * 异常错误码: 12.SerialCount不存在
	 */
	public static String back_error_500112 = "500112";
	/**
	 * 异常错误码: 13.contentId不存在
	 */
	public static String back_error_500113 = "500113";
	/**
	 * 异常错误码: 14.Name不存在
	 */
	public static String back_error_500114 = "500114";
	/**
	 * 异常错误码: 15.CopyRightObjectID不存在
	 */
	public static String back_error_500115 = "500115";
	/**
	 * 异常错误码: 16.CDuration不存在
	 */
	public static String back_error_500116 = "500116";
	/**
	 * 异常错误码: 17.CDuration非法
	 */
	public static String back_error_500117 = "500117";
	/**
	 * 异常错误码: 18.DisplayType不存在
	 */
	public static String back_error_500118 = "500118";
	/**
	 * 异常错误码: 19.原图不存在
	 */
	public static String back_error_500119 = "500119";
	/**
	 * 异常错误码: 20.原图名称不合法
	 */
	public static String back_error_500120 = "500120";
	/**
	 * xml解析错误
	 */
	public static String back_request_error = "200008";


	/**
	 * <b>Fields</b> serialVersionUID : 
	 */
	private static final long serialVersionUID = 4969797341967770510L;
	
	@JacksonXmlProperty(localName = "Response")
	private MyResponse response;
}
